package com.qianli.cashmama.product.server.controller.pay2;

import java.io.Serializable;

public class TarspayOrderNotifyDTO implements Serializable {
    /**
     * 1 代收 2 代付
     */
    private Byte bizType;

    /**
     * 支付订单号
     */
    private String payOrderId;

    /**
     * 商户号
     */
    private String mchNo;

    /**
     * 商户订单号
     */
    private String mchOrderNo;

    /**
     * 账单原始交易金额
     */
    private String orderAmount;

    /**
     * 支付金额
     */
    private String payAmount;

    /**
     * 三位货币代码,人民币:cny
     */
    private String currency;

    /**
     * 支付状态: 0-订单生成, 1-支付中, 2-支付成功, 3-支付失败, 4-已撤销, 5-已退款, 6-订单关闭，7-队列中，8-上游处理，9-部分支付
     */
    private Integer state;

    /**
     * 商户手续费
     */

    private String fee;

    /**
     * 失败原因
     */
    private String failReason;

    public Byte getBizType() {
        return bizType;
    }

    public TarspayOrderNotifyDTO setBizType(Byte bizType) {
        this.bizType = bizType;
        return this;
    }

    public String getPayOrderId() {
        return payOrderId;
    }

    public TarspayOrderNotifyDTO setPayOrderId(String payOrderId) {
        this.payOrderId = payOrderId;
        return this;
    }

    public String getMchNo() {
        return mchNo;
    }

    public TarspayOrderNotifyDTO setMchNo(String mchNo) {
        this.mchNo = mchNo;
        return this;
    }

    public String getMchOrderNo() {
        return mchOrderNo;
    }

    public TarspayOrderNotifyDTO setMchOrderNo(String mchOrderNo) {
        this.mchOrderNo = mchOrderNo;
        return this;
    }

    public String getOrderAmount() {
        return orderAmount;
    }

    public TarspayOrderNotifyDTO setOrderAmount(String orderAmount) {
        this.orderAmount = orderAmount;
        return this;
    }

    public String getPayAmount() {
        return payAmount;
    }

    public TarspayOrderNotifyDTO setPayAmount(String payAmount) {
        this.payAmount = payAmount;
        return this;
    }

    public String getCurrency() {
        return currency;
    }

    public TarspayOrderNotifyDTO setCurrency(String currency) {
        this.currency = currency;
        return this;
    }

    public Integer getState() {
        return state;
    }

    public TarspayOrderNotifyDTO setState(Integer state) {
        this.state = state;
        return this;
    }

    public String getFee() {
        return fee;
    }

    public TarspayOrderNotifyDTO setFee(String fee) {
        this.fee = fee;
        return this;
    }

    public String getFailReason() {
        return failReason;
    }

    public TarspayOrderNotifyDTO setFailReason(String failReason) {
        this.failReason = failReason;
        return this;
    }
}
